﻿using System;
using System.ServiceModel;

namespace FullDuplexTest.Contracts
{
    [ServiceContract(CallbackContract=typeof(IChatResponse))]
    public interface IChat
    {
        [OperationContract(IsOneWay = true)]
        void Send(ChatMessage message);

        [OperationContract(IsOneWay = true)]
        void Connect(Guid machineIdentifier);
    }
}